home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_glimpse.idb
/
usr
/
freeware
/
src
/
glimpse-3.0
/
libtemplate
/
Makefile.z
/
Makefile
Wrap
Makefile
|
1997-09-09
|
3KB
|
104 lines
# Generated automatically from Makefile.in by configure.
#
# Makefile for the common source directory
#
# $Id: Makefile.in,v 1.10 1994/09/30 22:11:28 hardy Exp $
#
SUBDIRS = util template
DEBUG_TOP = #-O #-g #-DDEBUG
srcdir = .
prefix = /usr/local/harvest
INSTALL_BINDIR = $(prefix)/bin
INSTALL_LIBDIR = $(prefix)/lib
INSTALL_MANDIR = $(prefix)/man
SHELL = /bin/sh
CC = cc
INSTALL = .././install-sh -c
INSTALL_BIN = ${INSTALL}
INSTALL_FILE = ${INSTALL} -m 644
RANLIB = :
LN_S = ln -s
XTRA_LIBS = @XTRA_LIBS@
# old variables for backward compatability
INSTALLDIR = $(INSTALL_BINDIR)
INSTALL_SCRIPT = $(INSTALL_BIN)
INSTALL_DIRS = $(prefix) $(INSTALL_BINDIR) $(INSTALL_LIBDIR) \
$(INSTALL_MANDIR)
all:
@for dir in $(SUBDIRS); do \
echo Making $@ in $$dir; \
(cd $$dir; $(MAKE) $(MFLAGS) \
INSTALL_BINDIR="$(INSTALL_BINDIR)" \
INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
INSTALL_MANDIR="$(INSTALL_MANDIR)" \
RANLIB="$(RANLIB)" \
DEBUG_TOP="$(DEBUG_TOP)" \
INSTALL_BIN="$(INSTALL_BIN)" \
INSTALL_FILE="$(INSTALL_FILE)" \
INSTALLDIR="$(INSTALL_BINDIR)" \
INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
done
install:
@for dir in $(SUBDIRS); do \
echo Making $@ in $$dir; \
(cd $$dir; $(MAKE) $(MFLAGS) \
INSTALL_BINDIR="$(INSTALL_BINDIR)" \
INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
INSTALL_MANDIR="$(INSTALL_MANDIR)" \
RANLIB="$(RANLIB)" \
INSTALL_BIN="$(INSTALL_BIN)" \
INSTALL_FILE="$(INSTALL_FILE)" \
INSTALLDIR="$(INSTALL_BINDIR)" \
INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
done
clean:
-@for dir in lib $(SUBDIRS); do \
echo Making $@ in $$dir; \
(cd $$dir; $(MAKE) $(MFLAGS) \
INSTALL_BINDIR="$(INSTALL_BINDIR)" \
INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
INSTALL_MANDIR="$(INSTALL_MANDIR)" \
RANLIB="$(RANLIB)" \
INSTALL_BIN="$(INSTALL_BIN)" \
INSTALL_FILE="$(INSTALL_FILE)" \
INSTALLDIR="$(INSTALL_BINDIR)" \
INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
done
realclean: clean
-rm -f Makefile include/autoconf.h include/paths.h config.status *~ core
-@for dir in gdbm lib $(SUBDIRS); do \
echo Making $@ in $$dir; \
(cd $$dir; $(MAKE) $(MFLAGS) \
INSTALL_BINDIR="$(INSTALL_BINDIR)" \
INSTALL_LIBDIR="$(INSTALL_LIBDIR)" \
INSTALL_MANDIR="$(INSTALL_MANDIR)" \
RANLIB="$(RANLIB)" \
INSTALL_BIN="$(INSTALL_BIN)" \
INSTALL_FILE="$(INSTALL_FILE)" \
INSTALLDIR="$(INSTALL_BINDIR)" \
INSTALL_SCRIPT="$(INSTALL_SCRIPT)" $@); \
done
#
# Compiles and installs gdbm from scratch. Works with gdbm-1.7.3
#
all-gdbm:
@echo Making all in gdbm
@rm -f gdbm/autoconf.h
@$(LN_S) ../include/autoconf.h gdbm/autoconf.h
@(cd gdbm; \
$(MAKE) $(MFLAGS) gdbm.h libgdbm.a; \
$(INSTALL_FILE) gdbm.h ../include/gdbm.h; \
$(INSTALL_FILE) libgdbm.a ../lib/libgdbm.a; \
$(RANLIB) ../lib/libgdbm.a \
)